/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javamail.speech;

import java.util.List;
import java.util.Random;
import java.util.Vector;
import javamail.sdp.sdpMessage;
import javamail.sip.util.eSipHeader;
import javamail.sip.util.eSipMethodType;
import javamail.sip.util.eSipRespCode;
import javamail.speech.util.eSpeechMsgType;

/**
 *
 * @author sriram
 */
public class speechMessage {
    public eSpeechMsgType method = eSpeechMsgType.NIL;
    public String body = null;

    public speechMessage() {
        body = "";
    }

    public void setBody(String body) {
        this.body = body;
    }

    public void setMethod(eSpeechMsgType msg) {
        this.method = msg;
    }
        
    public boolean containsBody() {
        boolean result = false;
        if(body!=null && !body.trim().equals(""))
            result = true;
        return result;
    }
}
